package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.system.annotation.FieldDescription;
import com.ruoyi.system.annotation.NeedOperate;
import com.ruoyi.system.annotation.ViewEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author LiSiPing
 * @since 2025-02-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reports implements Serializable {

    private static final long serialVersionUID = 1L;

    @FieldDescription(value = "举报ID")
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    @FieldDescription(value = "举报人ID")
    @ViewEntity
    @NeedOperate
    private Long informerrId;

    @FieldDescription(value = "被举报人ID")
    @ViewEntity
    @NeedOperate
    private Long theInformantId;

    @FieldDescription(value = "举报原因")
    @ViewEntity
    @NeedOperate
    private String reportReason;

    @FieldDescription(value = "举报状态 1未处理，2已处理")
    @ViewEntity
    @NeedOperate
    private Integer reportStatus;

    @FieldDescription(value = "举报详情")
    @ViewEntity
    @NeedOperate
    private String reportDetails;

    @FieldDescription(value = "举报证据_图片")
    @ViewEntity
    @NeedOperate
    private String evidenceImg;

    @FieldDescription(value = "创建时间")
    @ViewEntity
    @NeedOperate
    private Date createTime;

    @FieldDescription(value = "创建人")
    private String createBy;

    @FieldDescription(value = "修改时间")
    private Date updateTime;

    @FieldDescription(value = "修改人")
    private String updateBy;

    @FieldDescription(value = "逻辑删除")
    private Boolean deleteFlag;
    //页码
    @TableField(exist = false)
    public Long current;

    //行数
    @TableField(exist = false)
    private Long size;


}
